package main

import "go.uber.org/zap"

/*
   Author: mahaiyuan
   Date: 2021/3/8 5:55 下午
   Description:
*/
func main() {
	logger := zap.NewExample()
	defer logger.Sync()
	logger.Info("fail to fetch url", zap.String("url", "http://www.baidu.com"))
}